<?php
/**
 * @file:      compositio/template.php
 * @author:    Kitt Hodsden http://kitt.hodsden.org/
 *
 * Original theme designed by DesignDisease, released By-SA through SmashingMagazine
 * http://designdisease.com/blog/compositio-wordpress-theme/
 * http://www.smashingmagazine.com/2009/02/18/compositio-clean-beautiful-and-free-wordpress-theme/
 */

$compositio_class = '';
if ($block->region == 'right') {
  switch($block_id) {
  case 1:
    $compositio_class = 'about';
    break;
  case 2:
    $compositio_class = 'photostream';
    break;
  case 3:
    $compositio_class = 'categs';
    break;
  case 4:
    $compositio_class = 'recent';
    break;
  case 5:
  default:
    $compositio_class = 'recent';
    break;
  }
}

?>
<div id="block-<?php print $block->module .'-'. $block->delta; ?>" class="block block-<?php print $block->module . ' ' . $compositio_class; ?>">

<?php if ($block->subject): ?>
 <h3><?php print $block->subject ?></h3>
<?php endif;?>

 <div class="content">
   <?php print $block->content ?>
 </div>

</div>
